using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DanhSachBaoLuuEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:15/12/2011 05:01:08</para>
	/// <para>Class Name: DanhSachBaoLuuEntity</para>
	/// <para>Description: ClassDanhSachBaoLuuEntity store data of table DanhSachBaoLuu</para>
	///</summary>

	[DataContract]
	public partial class DanhSachBaoLuuEntity{


		private bool _InternalChangedIsNullDanhSachBaoLuu_ID=true;
		private bool _IsNullDanhSachBaoLuu_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullLop_ID=true;
		private bool _IsNullLop_ID=true;
		private bool _InternalChangedIsNullNganhHoc_ID=true;
		private bool _IsNullNganhHoc_ID=true;
		private bool _InternalChangedIsNullNgayBaoLuu=true;
		private bool _IsNullNgayBaoLuu=true;
		private bool _InternalChangedIsNullThoiHanBaoLuu=true;
		private bool _IsNullThoiHanBaoLuu=true;
		private int _DanhSachBaoLuu_ID;
		private int _SinhVien_ID;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		private int _Lop_ID;
		private int _NganhHoc_ID;
		private DateTime _NgayBaoLuu;
		private DateTime _ThoiHanBaoLuu;
		[DataMember]
		public bool IsNullDanhSachBaoLuu_ID{
			get{return _IsNullDanhSachBaoLuu_ID;}
			set{if(!_InternalChangedIsNullDanhSachBaoLuu_ID)_IsNullDanhSachBaoLuu_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullLop_ID{
			get{return _IsNullLop_ID;}
			set{if(!_InternalChangedIsNullLop_ID)_IsNullLop_ID=value;}
		}
		[DataMember]
		public bool IsNullNganhHoc_ID{
			get{return _IsNullNganhHoc_ID;}
			set{if(!_InternalChangedIsNullNganhHoc_ID)_IsNullNganhHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayBaoLuu{
			get{return _IsNullNgayBaoLuu;}
			set{if(!_InternalChangedIsNullNgayBaoLuu)_IsNullNgayBaoLuu=value;}
		}
		[DataMember]
		public bool IsNullThoiHanBaoLuu{
			get{return _IsNullThoiHanBaoLuu;}
			set{if(!_InternalChangedIsNullThoiHanBaoLuu)_IsNullThoiHanBaoLuu=value;}
		}
		[DataMember]
		public int DanhSachBaoLuu_ID{
			get{return _DanhSachBaoLuu_ID;}
			set{
				_DanhSachBaoLuu_ID=value;
				if(_DanhSachBaoLuu_ID!=null){
					_IsNullDanhSachBaoLuu_ID=false;
					_InternalChangedIsNullDanhSachBaoLuu_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int Lop_ID{
			get{return _Lop_ID;}
			set{
				_Lop_ID=value;
				if(_Lop_ID!=null){
					_IsNullLop_ID=false;
					_InternalChangedIsNullLop_ID=true;
				}
			}
		}
		[DataMember]
		public int NganhHoc_ID{
			get{return _NganhHoc_ID;}
			set{
				_NganhHoc_ID=value;
				if(_NganhHoc_ID!=null){
					_IsNullNganhHoc_ID=false;
					_InternalChangedIsNullNganhHoc_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayBaoLuu{
			get{return _NgayBaoLuu;}
			set{
				_NgayBaoLuu=value;
				if(_NgayBaoLuu!=null){
					_IsNullNgayBaoLuu=false;
					_InternalChangedIsNullNgayBaoLuu=true;
				}
			}
		}
		[DataMember]
		public DateTime ThoiHanBaoLuu{
			get{return _ThoiHanBaoLuu;}
			set{
				_ThoiHanBaoLuu=value;
				if(_ThoiHanBaoLuu!=null){
					_IsNullThoiHanBaoLuu=false;
					_InternalChangedIsNullThoiHanBaoLuu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DanhSachBaoLuuEntityBase*****************************************/
	/*****************************************************************************************************/
}

